Skip to content

Conversation

31oli31
Copy link

@31oli31 31oli31 commented Oct 2, 2025

…d factories

  • Introduced new factories: ComponentProviderBasedSpanProcessorFactory, ComponentProviderBasedSamplerFactory, ComponentProviderBasedExporterFactory, and ComponentProviderBasedLogRecordProcessorFactory to replace legacy factory interfaces.
  • Updated TracerProviderFactory to utilize the new ComponentProvider-based factories.
  • Added MIGRATION_SUMMARY.md detailing the migration process, benefits, and testing outcomes.
  • Ensured backward compatibility and maintained existing environment variable configurations.

Should solve issue #1681

…d factories

- Introduced new factories: `ComponentProviderBasedSpanProcessorFactory`, `ComponentProviderBasedSamplerFactory`, `ComponentProviderBasedExporterFactory`, and `ComponentProviderBasedLogRecordProcessorFactory` to replace legacy factory interfaces.
- Updated `TracerProviderFactory` to utilize the new ComponentProvider-based factories.
- Added `MIGRATION_SUMMARY.md` detailing the migration process, benefits, and testing outcomes.
- Ensured backward compatibility and maintained existing environment variable configurations.
@31oli31 31oli31 requested a review from a team as a code owner October 2, 2025 18:20
Copy link

welcome bot commented Oct 2, 2025

Thanks for opening your first pull request! If you haven't yet signed our Contributor License Agreement (CLA), then please do so that we can accept your contribution. A link should appear shortly in this PR if you have not already signed one.

Copy link

linux-foundation-easycla bot commented Oct 2, 2025

CLA Not Signed

  • ❌ login: @oliCHECK24 / name: Oliver Dirr / The commit (da139ed). This user is authorized, but they must confirm their affiliation with their company. Start the authorization process by clicking here, click "Corporate", select the appropriate company from the list, then confirm your affiliation on the page that appears. For further assistance with EasyCLA, please submit a support request ticket.

@ChrisLightfootWild
Copy link
Contributor

Hey @31oli31 👋

I think a lot of this might already have been implemented in https://github.com/open-telemetry/opentelemetry-php/tree/2.x

Potentially worth double checking there first to see if there are any unidentified areas that need coverage.

Comment on lines +10 to +11
use OpenTelemetry\Config\SDK\ComponentProvider\Logs\LogRecordProcessorBatch;
use OpenTelemetry\Config\SDK\ComponentProvider\Logs\LogRecordProcessorSimple;
Copy link
Contributor

@ChrisLightfootWild ChrisLightfootWild Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are an optional dependency and not currently included in the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants